SpreadCloseMark
SpreadCloseMark records are created immediately after the market close (clsMarkState=SRClose), when exchanges publish official marks (clsMarkState=ExchClose), and again during top of day rotation (clsMarkState=Final). These records contain closing quotes and prices as well as markup details for all exchange spreads SpreadCloseMark records are published to the SpiderRock elastic cluster when clsMarkState=Final BaseObj:Spread
METADATA
| Attribute | Value |
|---|---|
| Topic | 3120-market-marks |
| MLink Token | Internal |
| Product | SRAnalytics |
| accessType | SELECT |
| MLink Endpoint | MLink-Live |
Table Definition
| Field | Type | Key | Default Value | Comment |
|---|---|---|---|---|
| spreadID_ct | enum - ContentKeyType | PRI | 'None' | the content key SPREADCONTENTKEYmd SpreadId tag 15 bytes of the legset hash |
| spreadID_id | VARCHAR(37) | PRI | '' | the content key SPREADCONTENTKEYmd SpreadId tag 15 bytes of the legset hash |
| clsMarkState | enum - ClsMarkState | 'None' | Close mark state None LastPrt SRClose ExchClose Final | |
| opnPrc | DOUBLE | 0 | Open price | |
| minPrc | DOUBLE | 0 | Low price | |
| maxPrc | DOUBLE | 0 | High price | |
| prtCount | INT | 0 | Print count | |
| prtVolume | INT | 0 | Print volume | |
| avgMktSize | DOUBLE | 0 | Average market size | |
| avgMktWidth | DOUBLE | 0 | Average market width | |
| bidPrc | DOUBLE | 0 | bid price close 1min | |
| askPrc | DOUBLE | 0 | ask price close 1min | |
| srClsPrc | DOUBLE | 0 | SR close mark close 1min | |
| closePrc | DOUBLE | 0 | official exchange closing mark last printthen official close | |
| timestamp | DATETIME(6) | '1900-01-01 00:00:00.000000' | ||
| ticker_at | enum - AssetType | 'None' | the complex the legs share the first canonical legs for a crosscomplex spread | |
| ticker_ts | enum - TickerSrc | 'None' | the complex the legs share the first canonical legs for a crosscomplex spread | |
| ticker_tk | VARCHAR(12) | '' | the complex the legs share the first canonical legs for a crosscomplex spread | |
| scopeFlags | VARCHAR(255) | 'None' | what the leg set spans MultiTicker crosscomplex |
PRIMARY KEY DEFINITION (Unique)
| Field | Sequence |
|---|---|
| spreadID_ct | 1 |
| spreadID_id | 2 |
SELECT TABLE EXAMPLE QUERY
SELECT *
FROM `SRAnalytics`.`MsgSpreadCloseMark`
WHERE
/* Replace with a ENUM('None','SpreadId','ContractType','Calendar') */
`spreadID_ct` = 'NONE'
AND
/* Replace with a VARCHAR(37) */
`spreadID_id` = 'Example_spreadID_id';
Doc Columns Query
SELECT * FROM SRAnalytics.doccolumns WHERE TABLE_NAME='SpreadCloseMark' ORDER BY ordinal_position ASC;